package com.xyongfeng.foodManagement.service;

import com.xyongfeng.foodManagement.domain.Permission;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.cache.annotation.Cacheable;

import java.util.List;

/**
* @author xyongfeng
* @description 针对表【permission】的数据库操作Service
* @createDate 2024-06-10 13:53:47
*/
public interface PermissionService extends IService<Permission> {


    List<Permission> getByRoleId(Integer roleId);



    List<Permission> getByAdminId(Integer adminId);

}
